// 段错误
#include <stdio.h>

int main(int argc, char **argv)
{
    char *p = NULL;

    //段错误 (核心已转储)
    *p = 9;


    return 0;
}